div {
  position: relative;
  width: 300px;
  height: 30px;
  background-color: skyblue;
}
div a {
  text-decoration: none;
  color: #fff;
  line-height: 30px;
}
div a:hover {
  color: red;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
div a::after {
  position: absolute;
  top: 5px;
  right: 10px;
  content: "";
  width: 20px;
  height: 20px;
  background-color: pink;
}
